package com.chaopei.absinter;

/**
 * @Author Corday 天涯
 * @Date 2022/3/8 10:25
 */
public class TestMaina {
    public static void main(String[] args) {
        MyAbs rect = new MyRect(10.0,"",6.5,2);
        MyAbs ang = new MyTriangle(10.0,"",10,5);
        System.out.println(rect.getDetail());
        System.out.println(ang.getDetail());
    }
}
